from loguru import logger
import os
import datetime
import setting as c

logger.add( os.path.join(c.log_path ,"mhxyQA_{time:YYYY-MM-DD}.log"), format="{time} {level} {message}", rotation="1 day", retention="7 days")